package com.fishery.processing.handler;

import com.fishery.entity.Result;
import com.fishery.processing.client.OrderClient;
import com.fishery.processing.entity.client.OrderVo;
import org.springframework.stereotype.Component;

/**
 * @author run
 * @since 2021/3/13 11:22
 */
@Component
public class OrderClientFallback implements OrderClient {

    @Override
    public Result createOrder(OrderVo orderVo) {
        return Result.error("订单服务繁忙，请稍后再试");
    }
}
